/* Copyright (c) 2010, Carl Burch. License information is located in the
 * com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */

package com.cburch.logisim.std;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import com.cburch.logisim.std.arith.Arithmetic;
import com.cburch.logisim.std.base.Base;
import com.cburch.logisim.std.gates.Gates;
import com.cburch.logisim.std.io.Io;
import com.cburch.logisim.std.memory.Memory;
import com.cburch.logisim.std.plexers.Plexers;
import com.cburch.logisim.std.ttl.TTL;
import com.cburch.logisim.std.wiring.Wiring;
import com.cburch.logisim.tools.Library;
import com.cburch.logisim.tools.Tool;

public class Builtin extends Library {
	private List<Library> libraries = null;

	public Builtin() {
		libraries = Arrays.asList(new Library[] { new Base(), new Gates(), new TTL(), new Wiring(), new Plexers(),
				new Arithmetic(), new Memory(), new Io(), });
	}

	@Override
	public String getDisplayName() {
		return Strings.get("builtinLibrary");
	}

	@Override
	public List<Library> getLibraries() {
		return libraries;
	}

	@Override
	public String getName() {
		return "Builtin";
	}

	@Override
	public List<Tool> getTools() {
		return Collections.emptyList();
	}
}
